package com.gt.web.srv.web.api.command;

import com.gt.web.srv.annotation.base.CheckUpdate;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.NonNull;
import lombok.experimental.Accessors;
import lombok.experimental.SuperBuilder;

import javax.validation.constraints.NotNull;
import java.io.Serializable;


/**
 * 村民;
 *
 * @author Yu Chaohua
 * @date 2024-5-17
 */
@Data
@ApiModel(value = "村民审核", description = "村民审核")
public class PeopleAuditReqCommand  {


    @ApiModelProperty(value = "村民ID", required = true)
    @NotNull(message = "村民ID不能为空", groups = {CheckUpdate.class})
    private Long peopleId;

    @ApiModelProperty(value = "审核状态（0:待审核 1:已审核 2:查无此人）", required = true)
    @NotNull(message = "审核状态不能为空", groups = {CheckUpdate.class})
    private Integer auditStatus;
}
